package com.core.travelAgent.dao;

import java.util.List;

import com.common.web.SelectJson;
import com.core.travelAgent.pojo.AgentRelation;

public interface AgentRelationDao {
	List<AgentRelation> getRelation(AgentRelation agentRelation);
	void add(AgentRelation agentRelation);
	void update(AgentRelation agentRelation);
	void del(AgentRelation agentRelation);
	AgentRelation getRelationById(long id);
	int searchRelationCnt(String travelAgentId);
	List<SelectJson> getUserSendAgent(AgentRelation agentRelation);
	int getUserSendAgentCnt(AgentRelation agentRelation);
}
